/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.air.entity;

import cn.mcsys.myadmin.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 通用二维码Entity
 * @author bobo
 * @version 2018-10-31
 */
public class AirRideQrCodeSpecial extends DataEntity<AirRideQrCodeSpecial> {
	
	private static final long serialVersionUID = 1L;
	private Date rideDate;		// 乘车日期
	private Integer rideNo;		// 乘车人数
	private Integer rideStatus;		// 二维码状态
	private String machineNumber;		// 扫码机器编码
	private String qrCodeId;		// 二维码id
	private String phone;		// 电话号
	private String note;		// 备注

	public AirRideQrCodeSpecial() {
		super();
	}

	public AirRideQrCodeSpecial(Integer id){
		super(id);
	}

	public Date getRideDate() {
		return rideDate;
	}

	public void setRideDate(Date rideDate) {
		this.rideDate = rideDate;
	}
	
	public Integer getRideNo() {
		return rideNo;
	}

	public void setRideNo(Integer rideNo) {
		this.rideNo = rideNo;
	}
	
	public Integer getRideStatus() {
		return rideStatus;
	}

	public void setRideStatus(Integer rideStatus) {
		this.rideStatus = rideStatus;
	}
	
	@Length(min=0, max=255, message="扫码机器编码长度必须介于 0 和 255 之间")
	public String getMachineNumber() {
		return machineNumber;
	}

	public void setMachineNumber(String machineNumber) {
		this.machineNumber = machineNumber;
	}
	
	@Length(min=0, max=64, message="二维码id长度必须介于 0 和 64 之间")
	public String getQrCodeId() {
		return qrCodeId;
	}

	public void setQrCodeId(String qrCodeId) {
		this.qrCodeId = qrCodeId;
	}
	
	@Length(min=0, max=64, message="电话号长度必须介于 0 和 64 之间")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Length(min=0, max=255, message="备注长度必须介于 0 和 255 之间")
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
}